package com.zf.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zf.common.annotation.Excel;
import com.zf.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 前端用户信息对象 customer
 *
 * @author ruoyi
 * @date 2024-09-28
 */
@TableName(resultMap = "com.zf.system.mapper.CustomerMapper.CustomerResult")
public class Customer extends BaseEntity
{
        private static final long serialVersionUID = 1L;

        /** 用户ID */
        @TableId(value = "customer_id",type = IdType.AUTO)
        private Long customerId;

        /** 登录账号 */
        @Excel(name = "登录账号")
        private String loginName;

        /** 用户昵称 */
        @Excel(name = "用户昵称")
        private String customerName;

        /** 用户类型 */
        @Excel(name = "用户类型")
        private String customerType;

        /** 用户邮箱 */
        @Excel(name = "用户邮箱")
        private String email;

        /** 手机号码 */
        @Excel(name = "手机号码")
        private String phonenumber;

        /** 用户性别 */
        @Excel(name = "用户性别")
        private String sex;

        /** 密码 */
        @Excel(name = "密码")
        private String password;

        /** 帐号状态 */
        @Excel(name = "帐号状态")
        private String status;

        /** 删除标志 */
        private String delFlag;

        public void setCustomerId(Long customerId)
        {
                this.customerId = customerId;
        }

        public Long getCustomerId()
        {
                return customerId;
        }
        public void setLoginName(String loginName)
        {
                this.loginName = loginName;
        }

        public String getLoginName()
        {
                return loginName;
        }
        public void setCustomerName(String customerName)
        {
                this.customerName = customerName;
        }

        public String getCustomerName()
        {
                return customerName;
        }
        public void setCustomerType(String customerType)
        {
                this.customerType = customerType;
        }

        public String getCustomerType()
        {
                return customerType;
        }
        public void setEmail(String email)
        {
                this.email = email;
        }

        public String getEmail()
        {
                return email;
        }
        public void setPhonenumber(String phonenumber)
        {
                this.phonenumber = phonenumber;
        }

        public String getPhonenumber()
        {
                return phonenumber;
        }
        public void setSex(String sex)
        {
                this.sex = sex;
        }

        public String getSex()
        {
                return sex;
        }
        public void setPassword(String password)
        {
                this.password = password;
        }

        public String getPassword()
        {
                return password;
        }
        public void setStatus(String status)
        {
                this.status = status;
        }

        public String getStatus()
        {
                return status;
        }
        public void setDelFlag(String delFlag)
        {
                this.delFlag = delFlag;
        }

        public String getDelFlag()
        {
                return delFlag;
        }

        @Override
        public String toString() {
                return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                        .append("customerId", getCustomerId())
                        .append("loginName", getLoginName())
                        .append("customerName", getCustomerName())
                        .append("customerType", getCustomerType())
                        .append("email", getEmail())
                        .append("phonenumber", getPhonenumber())
                        .append("sex", getSex())
                        .append("password", getPassword())
                        .append("status", getStatus())
                        .append("delFlag", getDelFlag())
                        .toString();
        }
}